package model

type UserVideoRatio struct {
	VideoID int64   `json:"videoId" gorm:"column:video_id;not null" binding:"-"`
	UserID  int64   `json:"userId" gorm:"column:user_id;not null" binding:"-"`
	Ratio   float64 `json:"ratio" gorm:"column:ratio;not null;default:0;"`
}

func (UserVideoRatio) TableName() string {
	return "user_video_ratio"
}
